package com.acsior.hibernate.vo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.acsior.dac.impl.hibernate.vo.GeneratorKey;

/**
 * Тука препрахме на ръка.
 * 
 * @author К. Кръстев <kk@acsior.com>
 */
@Entity
@Table(name = "reporrting_daily_financial")
@GeneratorKey(tableName = "reporrting_daily_financial")
public class ReportingDailyFinancialVO implements Serializable {
	/** */
	private static final long serialVersionUID = -2653138805730944309L;

	@Id
	@Column(name = "code", nullable = false)
	private int code;

	@Column(name = "description")
	private String description;

	@Column(name = "part", nullable = false)
	private int part;

	/**
	 * Ново обектче
	 */
	public ReportingDailyFinancialVO() {
		// нищо не правим
	}

	/**
	 * @return стойността на code
	 */
	public int getCode() {
		return this.code;
	}

	/**
	 * @param code
	 *            се залага в code
	 */
	public void setCode(int code) {
		this.code = code;
	}

	/**
	 * @return стойността на description
	 */
	public String getDescription() {
		return this.description;
	}

	/**
	 * @param description
	 *            се залага в description
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @return стойността на part
	 */
	public int getPart() {
		return this.part;
	}

	/**
	 * @param part
	 *            се залага в part
	 */
	public void setPart(int part) {
		this.part = part;
	}
}
